#_*_coding:utf-8_*_

class LoginAction:
    def __init__(self,username,psw):
        self.username = username
        self.psw = psw

    #检查用户名和密码
    def checkUser(self):
        if self.username == 'admin' and self.psw == 'admin':
            return True
        else:
            return False
